/**
 * 
 */
package com.ws.config;

import java.util.Set;

import javax.websocket.Endpoint;
import javax.websocket.server.ServerApplicationConfig;
import javax.websocket.server.ServerEndpointConfig;

/**
 * @author zhong
 *
 */
public class WSConfig implements ServerApplicationConfig {


	/**
	 * 用注解的方式实现
	 */
	@Override
	public Set<Class<?>> getAnnotatedEndpointClasses(Set<Class<?>> scand) {
		System.out.println("=======> WSConfig:"+scand.size());
		return scand;
	}

	
	/**
	 * 用接口的方式实现
	 */
	@Override
	public Set<ServerEndpointConfig> getEndpointConfigs(
			Set<Class<? extends Endpoint>> arg0) {
		return null;
	}

}
